package com.wy.panda.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * 角色与菜单资源服务对应关系
 * 
 * @author wangyuan
 * @date 2020-09-11 23:46:39
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder
@EqualsAndHashCode(callSuper = true)
@TableName("t_sys_menu_role")
public class SysMenuRoleEntity extends BaseEntity {

	/**
     * 
     */
    private static final long serialVersionUID = 862210967624508025L;
    /**
	 * 主键
	 */
	@TableId
	private Long id;
	/**
	 * 角色ID，外键
	 */
	private Long roleId;
	/**
	 * 菜单资源ID，外键
	 */
	private Long menuId;
}
